#ifndef COLOR_H
#define COLOR_H

class Color
{
public:
    Color();

    Color(float red, float green, float blue);
    inline Color & operator += (const Color &c2 ) {
        this->red +=  c2.red;
        this->green += c2.green;
        this->blue += c2.blue;
        return *this;
    }

    inline Color & operator *= (float coef ) {
        red *= coef;
        green *= coef;
        blue *= coef;
        return *this;
    }

    float red, green, blue;
};

#endif // COLOR_H
